package com.smedi.ismedi.authoritymanagement.api.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author: xulinjun
 * @Date: 2021-7-3 11:29
 */
@Data
public class LoginRequest implements Serializable {
    @ApiModelProperty(value = "手机号或用户名", required = true)
    @NotBlank(message = "手机号或用户名为空！")
    private String account;

    @ApiModelProperty(value = "密码", required = true)
    @NotBlank(message = "密码为空！")
    private String password;

    @ApiModelProperty(value = "客户端id")
    private String clientId;
}
